package com.example.springboot.service;

import com.example.springboot.entity.Patient;
import com.example.springboot.mapper.PatientMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PatientService {
    @Autowired
    private PatientMapper patientMapper;
    public int zwqz(Patient patient){
        return patientMapper.insert(patient);
    }
}
